package net.betou.trade.main.dao;

import java.util.Date;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.Log;

public interface LogDao{
	
	public Pagination getPage( int category, String searchProperty, String searchValue, String orderProperty, String orderDirection, int pageNo, int pageSize );

	public Log findById( Integer id );

	public Log save( Log bean );

	public Log deleteById( Integer id );

	public int deleteBatch( Integer category, Date before );
}